# Contributor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=nausea
pkgver=0.3
pkgrel=0
pkgdesc="A simple audio spectrum visualizer"
url="https://git.2f30.org/nausea"
arch="all"
license="BSD-2"
depends="fftw ncurses-libs"
makedepends="fftw-dev ncurses-dev"
subpackages="$pkgname-doc"
source="https://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr MANPREFIX=/usr/share/man \
	DESTDIR=$pkgdir install || return 1
}

sha512sums="9807a78a6fafa6058e3e39f41651c09edb6963abcf63950e1a83db376caffb5a97df436ec6041aba4ada9abb571920586655374a3b44053c986d220c9d9003e7  nausea-0.3.tar.gz"
